code: @Override
      public final void close(CloseReason status) throws IOException {
          checkNativeSessionInitialized();
          if (logger.isDebugEnabled()) {
              logger.debug("Closing " + this);
          }
          closeInternal(status);
      }
docs: {@inheritDoc}