stat: add helper for resetting the latency buckets