fix data being emitted out of order on a large peeked stream