add latency callback to dummy backend