Helpers for stopping instances.
Track latency.