code: 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);
                      }
                  }
              }
          }
      }
docs: Close the inbound and outbound sides of the engine created during the
  discrimination path. This engine was not used during an actual connection,
  only the discrimination, as such, it has no data to flush.
  
  @param engine