use StopRun to terminate the execution