Made a stop token stop all the cores