write_riemann: do not read responses twice