code: func (bg *Reader) Close() error {
  	if bg.control != nil {
  		close(bg.control)
  		close(bg.waiting)
  		<-bg.done
  	}
  	if bg.err == io.EOF {
  		return nil
  	}
  	return bg.err
  }
docs: // Close closes the reader and releases resources.