Try to recover from errors when parsing