code: def unregister_callback(callback_id):
      
      global _callbacks
      obj = _callbacks.pop(callback_id, None)
      threads = []
      if obj is not None:
          t, quit = obj
          quit.set()
          threads.append(t)
      for t in threads:
          t.join()
docs: unregister a callback registration