[Task] Add TaskCore::Cancel() and IsCanceled().
[Statechart] Add StateMachine::StartTimer().