if (!pendingAccess.isCancelled()) {
CurrentInstance.clearAll();
CurrentInstance.restoreInstances(pendingAccess
.getCurrentInstances());
CurrentInstance.setCurrent(session);
pendingAccess.run();
try {
pendingAccess.get();
} catch (Exception exception) {