make trySleep test a bit more stable