closeAll method
Closes all proxy servers. To close specific server use close method.
StreamController for connections will still be opened. To close it use stop method.
Implementation
Future<void> closeAll() async {
for (final server in proxies.values)
await server.close();
proxies.clear();
}