Change to EngineServiceImpl.java, to resolve thread problem.
Merge pull request #8 from JCRichstein/master

Change to EngineServiceImpl.java, to resolve thread problem in headless HPC mode.