Graceful handle response body closing