Prevent TaskService cyclic dependency