Make stopwatch atomic