@xmypuk already updated on a new version also the script already updated, i try to uninstall and install again with the same version and its back normal, weird problem but alreasy fix it thanks
Here's a suggestion:
Mark the time when starting the thread.
Then during the script run, add a time check action and compare the time difference with your desired value.
-> Take appropriate action.