Chiefs edge Gloucester at the death