gracefully handle jobs that panic