wait for switches to connect during test_nets