fixed race-condition on 'known_urls' variable