I am trying to instantly kill all threads once a condition is met. The purpose of this is so when my condition is met, it doesn\'t spam the code afterwards. here is an examp