finally, all threads die when it is their time