Removing infinite wait from a test.