This is by design - have a look at the "Break" entry in the manual.

To stop this happening, set "Break ON" at the top of your script.