Detect crash only once