Update TaskScheduler.cpp