Use smarter algorithms to handle socket exhaustion
We could do something for socket exhaustion that's smart, like what we currently do for OOM.