make TaskExecutor non-generic class