code: def main(url, lamson_host, lamson_port, lamson_debug):
      
      try:
          worker = LamsonWorker(url=url,
                                lamson_host=lamson_host,
                                lamson_port=lamson_port,
                                lamson_debug=lamson_debug)
          worker.connect()
          worker.run_forever()
      except KeyboardInterrupt:
          worker.close()
docs: Create, connect, and block on the Lamson worker.