try to fail gracefully when job crashes