> > replacing self.transport.write with self.sendLine just makes the code > block when it hits self.sendLine. > self.transport.write('GoodBye\r\n') on the other hand works fine.