code: def listen(self):
          
          while True:
              message = self.pull.recv()
              logger.debug("received message of length %d" % len(message))
              uuid, message = message[:32], message[32:]
              response = uuid + self.handle(message)
              self.push.send(response)
docs: Listen forever on the zmq.PULL socket.