Simplify read timing in stream.c.