Change to EngineServiceImpl.java, to resolve thread problem.