!7 p { new L threads; repeat with sleep 1 { threads.add(startThread(r {})); print("Number of threads: " + numberOfAllThreads()); } }