attempt fix test_doc_links race condition