if data in self.CMDs:
self._sm.callback(self.CMDs[data], self._answer(conn))
# _answer will be called, and it will close the connection
+ continue # make sure we break so we don't close it
else:
waynesend(conn, 'Command not found')
except KeyboardInterrupt: