wait until the test service is listening