Added orphan cleanup to parser error handling.