Add atomicWriteIORef