Logging of running scripts - in smart rules, scripts menu

Is it still disabled after waiting more than 5 minutes?

No. After 5 minutes the menu is accessible again.

That’s the timeout DEVONthink uses for frozen smart rule scripts.

Any idea why it is frozen?

The log message is generated by this code. I would expect the script to be finished. Am I wrong? Any non closed handles?

I use

and

Can this be a problem?