The only way to stop this project is to close the tab! This will lag your computer and the stop button will not work.
This works by setting a variable constantly to a value slightly larger than the timer. When the project stops updating this variable (aka, when the stop button is pressed), the timer becomes larger than variable, and the "when [timer] > (variable)" event block triggers the project to resume where it left off.