Double check locking for atomicCreateIfAbsent