Test your answer by running this Snap
!
file
RaceCondition
several times.