[*] Fixed Task::completeTask() not always emitting with the correct result. For example, it would be emitted with the result set to TaskResultFromBusyStateFailOnError instead of TaskFailed.