REVISIT: ignore parse errors on last empty chunks