Implement the `close' command, which terminates an SFTP session but