added missing response.body.close