check here that maxConnections >= 0