pub fn allow_tasks_to_finish(mut self) -> Self {
        self.tasks_allowed_to_finish = true;
        self
    }
Specifies that the wrapped tasks can finish (by default, they are expected to run indefinitely).
This influences logging when a task finishes.
core/lib/task_management/src/lib.rs