Lily mentioned bees wax, I seem to recall my mother using this when she was preserving food (mostly jam). I think it would work, the melted was would float on top of the vinegar to keep germs, and would solidify only when the temperature has dropped, thus avoiding cracks due to contraction of the liquid/glass upon cooling.