Bugfix: closing the response body could hang on long-running connections.