Multithreading sleep.