SFTP: ssh terminal: fixed crash
SFTP: when logout is executed on a remote terminal, recreate the channel on next attempt to open the terminal