code: def _send_loop(self):
          
          while True:
              message, response_queue = self._send_queue.get()
              if message is self.STOP:
                  break
              try:
                  self._response_queues.put(response_queue)
                  self._socket.send(message)
              except Exception:  # pylint:disable=broad-except
                  log.exception("Exception sending message %s", message)
docs: Service self._send_queue, sending requests to server