Fix race condition in test harness (affects DSLD related tests).