move latency-recompute into dedicated thread.