8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends

When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.

Reviewed-by: chegar, michaelm
3 files changed