code: func (c *Client) Logout(ctx context.Context) error {
  	// Close any idle connections after logging out.
  	defer c.Client.CloseIdleConnections()
  	return c.SessionManager.Logout(ctx)
  }
docs: // Logout dispatches to the SessionManager.