added ThreadingTaskScheduler