String treeName = ex.getValue().getString();
ex.getValue().setStreamMode(false);
ex.remove();
LOG.debug("Removing delayed tree {} from timestamp {}", treeName, timestamp);
TreeLink link = treeService.treeLink(treeName);
Exchange ex2 = treeService.getExchange(session, link);
ex2.removeTree();
treeService.releaseExchange(session, ex2);
// Keep consistent if called during runtime