Inside the code block, stop the loop after running its code block by updating engine_running to False.
engine_running
False
Make sure to type engine_running = False.
engine_running = False