[v6-r10] Hot fix to add the missing Scheduled state in the TaskManagerBaseAgent