That timer is a disgusting bandaid though, and uses 100% CPU.
Fix the problem by correcting the script which closes the window.
Fix the problem by having the script /window before /echoing to it.
If they can't fix the script properly, they have no business using it.