Inside the code block, stop the loop after running its code block by setting is_on to False.
is_on
False
Make sure to type False.