I found the source of the problem, thanks for your help
Thanks for reporting this issue. We have asked our script developers to analyse and provide feedback.
When I run a wrong code. How can I reset it in agent so that code won’t work when powered off machine.