Script write to tag error

I have a support ticket open for this very issue - #39794. Just sent in a bunch of thread dumps.