Added handling from Connection: close header and server closed http client connections.