code: public final <T extends ReleasableInputStream> T disableClose() {
          this.closeDisabled = true;
          @SuppressWarnings("unchecked")
          T t = (T)this;
          return t;
      }
docs: Used to disable the close method. Once the close method is disabled,
  caller would be responsible to release resources via {@link #release()}.