'Publish a TopologyClosedEvent to all topology listeners.
:Parameters:
- `topology_id`: A unique identifier for the topology this server
is a part of.'

def publish_topology_closed(self, topology_id):

    event = TopologyClosedEvent(topology_id)
    for subscriber in self.__topology_listeners:
        try:
            subscriber.closed(event)
        except Exception:
            _handle_exception()
