- Fix the output stream close detection on postpdf