def closed(self):
        if self.protocol:
            self.protocol.connectionLost("disconnected")
            self.protocol = None
test alias.present set target
dataset/ETHPy150Open cowrie/cowrie/cowrie/ssh/session.py/SSHSessionForCowrieUser.closed--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/alias_test.py/AliasTest.test_present_set_target