Clean up parsers as we finish with them, to clear memory

When using multiple source PDFs, peak memory usage could get quite high
as it generates the final PDF.  By clearing as we go, peak usage drops
substantially.