pub fn kill_task( task_id: &str, set_app_state: &Box<dyn Fn(Box<dyn Fn(&Value) -> Value>)>, )
Kill a running shell task by ID.