on HTTP error, connection was not returned to the pool and eventually all HTTP requests were stuck