cherry-picks: check for abnormal exit