code: public void resetErrorCount() {
          errorCount.set(0);
          if (!stat.get() && init.get() && errorCount.intValue() < maxInvokeError && stat.compareAndSet(false, true)) {
              logger.info("NettyClient recover available: interfaceName='" + config.getInterfaceName() + "' '" + config.identity() + "'");
          }
      }
docs: 通过心跳机制检测如果client恢复，则重新启用client