make pathogen fail gracefully