pause/resume input stream, too (not just expat)