finalize query runner does not always wrap a bysegment runner (e.g. on the broker)
we should probably test both.