added handling of TASK_ERROR to Starting - and StoppingBehavior