Remove TaskExecutor, refactor NameServer.