wait for the started buildbot to stop before finishing the test case