support maxSockets option