Shorten a 1s sleep in tests.