def outConnectionLost(self):
        if self.lostOutOrErrFlag:
            self.session.conn.sendEOF(self.session)
        else:
            self.lostOutOrErrFlag = True
EOF should only be sent when both STDOUT and STDERR have been closed.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/ssh/session.py/SSHSessionProcessProtocol.outConnectionLost