fix tracker sleep_ms to correctly compute overhead