docs: def publish_topology_closed(self, topology_id):
          """Publish a TopologyClosedEvent to all topology listeners.
  
          :Parameters:
           - `topology_id`: A unique identifier for the topology this server
             is a part of.
          """
          event = TopologyClosedEvent(topology_id)
          for subscriber in self.__topology_listeners:
              try:
                  subscriber.closed(event)
              except Exception:
                  _handle_exception()