Race condition example