def METHOD_NAME(self):
    for network in self.networks:
        if network.running:
            network.stop()
    del self.networks
    loop = asyncio.get_event_loop()
    loop.stop()
    loop.close()