r17124: fixed a bug which caused resolve_ads() to spin forever if one of the