private void postprocessWithoutJobSlot(PrioritizedRequest request) { try (CDC ignore = request.getCdc().restore()) { request .getMover() .close( new CompletionHandler<Void, Void>() { @Override public void completed(Void result, Void attachment) { release(); } private void release() { request.done(); _jobs.remove(request.getId()); _moverByRequests.remove(request.getDoorUniqueId()); } @Override public void failed(Throwable exc, Void attachment) { release(); } }); } }