public Status await() throws InterruptedException {
        this.latch.await();
        return this.status;
    }
Wait for closure run

@return status
@throws InterruptedException if the current thread is interrupted
                             while waiting
jraft-core/src/main/java/com/alipay/sofa/jraft/closure/SynchronizedClosure.java