I am trying to use multi-threading in an infinitive while loop. When the for loop did finish I would like to stop the thread which completed the for loop and let the other threa