reader is now closed when no longer needed in parser