docs: private void _release(TestSlot testSlot, SessionTerminationReason reason) {
      if (!testSlot.startReleaseProcess()) {
        return;
      }
  
      if (!testSlot.performAfterSessionEvent()) {
        return;
      }
  
      final String internalKey = testSlot.getInternalKey();
  
      try {
        lock.lock();
        testSlot.finishReleaseProcess();
        release(internalKey, reason);
      } finally {
        lock.unlock();
      }
    }