if the response body is nil you can't close it though