code: private void destroy() {
          Lock writerLock = ctxLock.writeLock();
          writerLock.lock();
          try {
              if (ctx != 0) {
                  if (enableOcsp) {
                      SSLContext.disableOcsp(ctx);
                  }
  
                  SSLContext.free(ctx);
                  ctx = 0;
  
                  OpenSslSessionContext context = sessionContext();
                  if (context != null) {
                      context.destroy();
                  }
              }
          } finally {
              writerLock.unlock();
          }
      }
docs: producing a segfault.