Changed maxConcurrentConnections to a #define for easier customization