`sleep` with a countdown timer