public static void runClosure(final Closure done, final Status status) {
        if (done != null) {
            done.run(status);
        }
    }
Run closure in current thread.

@param done
@param status
jraft-core/src/main/java/com/alipay/sofa/jraft/util/Utils.java