docs: private void closeEngine(SSLEngine engine) {
          // PK13349 - close the engine we created during discrimination. We do not
          // need to flush any data however
          if (null != engine) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Closing discrimination engine");
              }
              engine.closeOutbound();
              if (!engine.isInboundDone()) {
                  try {
                      engine.closeInbound();
                  } catch (SSLException se) {
                      // no ffdc required
                      if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                          Tr.event(tc, "Error closing inbound engine side; " + se);
                      }
                  }
              }
          }
      }