Is there a better way to achieving this than this? Currently using a class variable that both threads look at with the run_break_check method change the value based on the resul