fixed status command for sftp transports
added error handling for SshTask