Use one socket per thread. [Fix #50562675]
We saw an issue on ed-dev using JRuby where the number of open sockets was so high that we were getting exceptions trying to create new ones.