TaskRunnerImpl implemented using Thread instead of ExecutorService.