docs: private void release(TestSession session, SessionTerminationReason reason) {
      try {
        lock.lock();
        boolean removed = activeTestSessions.remove(session, reason);
        if (removed) {
          fireMatcherStateChanged();
        }
      } finally {
        lock.unlock();
      }
    }