Demonstrate sleeping and joining of threads.