add try around done_links.remove to reduce errors