Task task life cycle with QueueTaskManager