Clear local storage when parsing fails.