There's currently a bug with break handler overriding; that could be the cause. It occurs if the script is started while logged out of the game, and can make the script unresponsive when a break begins.
I would advice to restart the client, and ensure being logged in when you initially start the script. I have reported the bug to the devs, but I don't know when it will be patched.