tasks/ssh_deploy.js
function(callback) {
                connection.end();

                client.close();
                client.__sftp = null;
                client.__ssh = null;

                callback();
            }
function(callback) {
                connection.end();

                client.close();
                client.__sftp = null;
                client.__ssh = null;

                callback();
            }
function ( callback ) { connection . end ( ) ; client . close ( ) ; client . __sftp = null ; client . __ssh = null ; callback ( ) ; }
closing connection to remote server
closing connection to remote server