def METHOD_NAME(self):
    while (self.is_running):
        message = None
        try:
            # no sleep, since it's a block call with INTERVAL_SECONDS second timeout
            message = self.send_queue.get(True, INTERVAL_SECONDS)
        except Empty:
            # do nothing, if no command received.
            pass
        if message is not None:
            self._inner_send(message)