Batch batch = this.manager.getBatcher().createBatch();
try {
Session<LocalSessionContext> session = this.manager.findSession(id);
if (session == null) {
batch.discard();
return null;
}
return new DistributableSession(this, session, config, batch);
} catch (RuntimeException | Error e) {
batch.discard();