Inside the code block, stop the loop after running its code block by setting more_alerts to False.

Make sure to type more_alerts = False.