docs: def receive(self):
          '''
          Return one message dequeued from the listen buffer.
          '''
          while self.buffer.empty() and self.__up:
              # This sequence is skipped when the buffer is not empty.
              sleep_ms = random.randint(0, 1000)
              # log.debug('The message queue is empty, waiting %d miliseconds', sleep_ms)
              # disabled ^ as it was too noisy
              time.sleep(sleep_ms / 1000.0)
          if not self.buffer.empty():
              return self.buffer.get(block=False)
          return '', ''