Handling 'extra' connections

Shouldn't this just be numberofConnectionsPerWorker + remainingConnections?