Reusing getAvailableConnections() to avoid conflicts