Updated to avoid hammering remote servers if cache cannot be updated for some reason other than downloading failed