do something more deterministic here sleeping is really terrible in a test.