add try/catch on check_page_links(), because it come be thread stop