DistributedExecutorService des = null;
try {
Cache<Object, Object> cache = cacheManager.getCache();
ExecutorService service = new WithinThreadExecutor();
service.shutdown();
des = new DefaultExecutorService(cache, service);
} finally {
TestingUtil.killCacheManagers(cacheManager);
}