[tor-commits] [chutney/master] wait_for_bootstrap: fix a race condition