docs: def main(cert, key, pushtoken, url):
      """Create, connect, and block on the listener worker."""
      try:
          worker = APNSWorker(cert=cert, key=key, pushtoken=pushtoken, url=url)
          worker.connect()
          worker.run_forever()
      except KeyboardInterrupt:
          worker.close()