dont resume stream if resuming parser resulted in it being paused again; throw errors in pause()/resume()