More robust client-side job failure detection.