Fixed disconnecting after channel timeout…

… by closing shell when LIBSSH2_ERROR_SOCKET_RECV is read