Check for abnormal exit code