def stop(self):
        if self.tty is not None and not self.tty.closed:
            self.tty.close()
            pyuv.TTY.reset_mode()
        self.socket.close()
dataset/ETHPy150Open benoitc/gaffer/gaffer/cli/commands/send.py/Send.stop/original