Close will be called due to http_fail