Unfortunately ClearScript provides no way to pause and resume script execution. You can use
ScriptEngine.Interrupt()
to terminate a runaway script.ScriptEngine.Interrupt()
to terminate a runaway script.