Fix hanging request due to blocked connections.

In case of aborted http requests(like the abort of a download of huge file), the connection pool of the httpClient was clocked with un-recyclable connections. This behavior could be solved by consuming the entity completely and thus allowing the httpClient to close the connection.