Send event_script_end when execution halts