@j-steve discovered that a user decorator function defined in a module and used by a pyscript script will start the triggers in the module context, not the script context. This causes them to not be canceled when just the script is reloaded.
See discussion #428.