Attempting to limit number of sockets used