Allow nextBatchStream to be called after we're done looking at all streams

Before it could give ArrayIndexOutOfBoundsException after we read the
very last element