The high cost of keeping animal pathogens away