close the response