Removed debug statement that printed out threads.