code: func (c *Connection) Close() error {
  	c.dbMu.Lock()
  	defer c.dbMu.Unlock()
  
  	if c.store != nil {
  		if err := c.store.disconnect(c); err != nil {
  			return err
  		}
  	}
  
  	if c.db == nil {
  		return nil
  	}
  	if err := c.db.Close(); err != nil {
  		return err
  	}
  	c.db = nil
  	return nil
  }
docs: // Close closes the connection via consensus.