Close the response object