If, because of network communication problems, your remote session becomes unresponsive, you may abort the connection by pressing CTRL/Y twice in succession. You will be asked whether you would like to abort the connection to the remote node. Answer yes.