I can't understand why this function enter into a infinite loop as show in the Logs screenshot below ?!!!!
This only happens in run mode. In record mode everything working as expected !!!
Your threading issues get me so curious! You'll need to start sending your projects(s) into @Fox or @support so they can dissect the code to find the cause of these effects bud.