closeAllConnections method
Close all connections in the pool.
Implementation
Future<void> closeAllConnections() async {
for (final relayUrl in _connectionPools.keys.toList()) {
await closeAllConnectionsForRelay(relayUrl);
}
logger.log('All connections in pool closed');
}