public static Future<?> runClosureInThread(final Closure done, final Status status) {
        if (done == null) {
            return null;
        }

        return runInThread(() -> {
            try {
                done.run(status);
            } catch (final Throwable t) {
                LOG.error("Fail to run done closure.", t);
            }
        });
    }
Run closure with status in thread pool.
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcUtils.java