Added runDelayedTasks(taskClass)