Made "wait for something to send" behavior more sensible/efficient.
Don't add connections to the connection pool if we're already shutting down.