pub fn new(task_handles: Vec<JoinHandle<anyhow::Result<()>>>) -> Self {
        Self {
            task_handles,
            tasks_allowed_to_finish: false,
        }
    }
Wraps the specified list of Tokio tasks.
core/lib/task_management/src/lib.rs