Wait for any layout tasks to complete in a page tree before a handling a pipeline's exit message.
Make proxy finalizers retrieve the DOM object from the right slot.
Silence occasional task failure that occurs from sending to the render task after it's shut down.
Run script in its own thread to avoid starving other tasks