code: func (c *Config) CloseStreams() error {
  	var errors []string
  
  	if c.stdin != nil {
  		if err := c.stdin.Close(); err != nil {
  			errors = append(errors, fmt.Sprintf("error close stdin: %s", err))
  		}
  	}
  
  	if err := c.stdout.Clean(); err != nil {
  		errors = append(errors, fmt.Sprintf("error close stdout: %s", err))
  	}
  
  	if err := c.stderr.Clean(); err != nil {
  		errors = append(errors, fmt.Sprintf("error close stderr: %s", err))
  	}
  
  	if len(errors) > 0 {
  		return fmt.Errorf(strings.Join(errors, "\n"))
  	}
  
  	return nil
  }
docs: // CloseStreams ensures that the configured streams are properly closed.