Be able to stop the simulation