control the maximum of SocketChannels