When you create a variable of a `ref` type, the reference count should increased by one. However, other threads may try to do so at the same time, which is leads to undefined behavior. This multithreading-related problem is called a "data race."
Hint: `--mm:atomicArc`