diff --git a/lib/get-info.js b/lib/get-info.js index 5d2f4900..6ff95eae 100644 --- a/lib/get-info.js +++ b/lib/get-info.js @@ -52,7 +52,9 @@ var urlRetrieve = function (transport, options, callback) { Logger.errlog.log(err.stack); Logger.errlog.log("urlRetrieve failed: " + err); Logger.errlog.log("Request was: " + options.host + options.path); - callback(503, ""); + setImmediate(function () { + callback(503, ""); + }); }); d.run(function () { var req = transport.request(options, function (res) {