Don't call `flush()` in loop.