Fix condition for internal assertion.
Make sleep(0.seconds) a no-op instead of throwing an AssertError.