async def close(self) -> None:
    network = self.host.get_network()
    for listener in network.listeners.values():
        listener.server.close()
        (await listener.server.wait_closed())
async def close(self) -> None:
    network = self.host.get_network()
    for listener in network.listeners.values():
        listener.server.close()
        (await listener.server.wait_closed())