def connectionLost(self, reason=None):
        insults.TerminalProtocol.connectionLost(self, reason)
        self.sessionhandler.disconnect(self)
        self.terminal.loseConnection()
This is executed when the connection is lost for whatever
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/ssh.py/SshProtocol.connectionLost