def on_disconnect(self):
    self._sock = None
    self._reader = None
    self._next_response = False
def on_disconnect(self):
    self._sock = None
    self._reader = None
    self._next_response = False