Preserving the open economy at times of stress