How to stop the execution of the program node

Hi to everyone i finished my ur cap but i can’t stop the execution of a specific program node.
The problem is that my program node do all the stuff which but didn’t quit after that and all the program stops.
I thinks it rregards the generate script method but i didn’t know ho to stop it
Thanks for help!!!

Could you maybe be a bit more specific? I.e. posting a code snippet from your URCap or refer to in what way your program node seems to keep executing?