code: func (c *cmd) destroySession() error {
  	// Stop the session renew if any
  	if c.stopCh != nil {
  		close(c.stopCh)
  		c.stopCh = nil
  	}
  
  	// Destroy the session explicitly
  	session := c.apiclient.Session()
  	_, err := session.Destroy(c.sessionID, nil)
  	return err
  }
docs: // destroySession is used to destroy the associated session