Containing Insurance Losses When Pandemics Strike