code: @Override
      public void close() {
          if (params != null && params.closeHandler != null) {
              params.closeHandler.run();
              params.closeHandler = null;
          }
      }
docs: Causes close handler to be invoked if it exists.
  Since most of the stream providers are lists or arrays,
  it is not necessary to close the stream.
  
  @since 1.1.8