try {
latch.await(10, TimeUnit.SECONDS);
} catch (InterruptedException e) {
}
executeCloseDone(closeContext, done, fut.cause());
}
private void executeCloseDone(final DefaultContext closeContext, final Handler<AsyncResult<Void>> done, final Exception e) {
if (done != null) {
closeContext.execute(new Runnable() {