setting maxSockets