What developing countries can teach rich countries about how to respond to a pandemic