Merge "Fix infinite loop when calling SetStatus after OOM."