docs: synchronized void clearOutstanding() {
          if (m_outstandingWork.isEmpty() && (m_outstandingWorkCount.get() == 0)) {
              return;
          }
  
          rejoinLog.trace("Clearing outstanding work.");
  
          for (Entry<Integer, SendWork> e : m_outstandingWork.entrySet()) {
              e.getValue().discard();
          }
          m_outstandingWork.clear();
          m_outstandingWorkCount.set(0);
      }