Add Sleep to threads.