v.19.11Bug Fix

Avoid Hanging Connections When Server Thread Pool Is Full

Avoid hanging connections when server thread pool is full. It is important for connections from remote table function or connections to a shard without replicas when there is long connection timeout. This fixes #5878 #5881 (alexey-milovidov)