code to test that all test clients are finished