Ensure response.Body.Close() always gets called