Added some print statements to see the total number of threads created up to specific checkpoints