[Task Manager] Clean mapTaskResourceType in task-manager.h file