Make sure to close response body before returning result