code: func (c *RPCClient) Leave() error {
  	header := requestHeader{
  		Command: leaveCommand,
  		Seq:     c.getSeq(),
  	}
  	return c.genericRPC(&header, nil, nil)
  }
docs: // Leave is used to trigger a graceful leave and shutdown of the agent