public static void set(final ShenyuClientRegisterRepository repository, final Properties props) {
        ShutdownHookManager.get().addShutdownHook(new Thread(repository::closeRepository), 1);
        ShenyuClientShutdownHook.props = props;
    }
Add shenyu client shutdown hook.

@param repository ShenyuClientRegisterRepository
@param props  Properties
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/shutdown/ShenyuClientShutdownHook.java