They're fine when shut and will withstand the drop in pressure. Just be careful when opening - water at near sea-level boiling point temp will boil at a lower temp in reduced pressure. I know about one nasty incident (admittedly whilst flying unpressurised) when the water boiled instantaneously when the cap was opened.