All the sleep calls in this tests are fragile.