Preventing outbreaks and protecting vulnerable populations in a pandemic