docs: public void setStatus(final ConnectionStatus update) {
          status.getAndSet(update);
          if (ConnectionStatus.TERMINATED == status.get()) {
              resourceSynchronizer.doNotify();
          }
      }