TTasksCompletionStatus::SetStatusWithPriority

Set the status of a task respecting the previous status value.