Added ExecutorService to AgentServer.