static Future<void> removeConnection(String key) async { final connection = _connections.remove(key.trim()); await connection?.dispose(); }