PutIfAbsent atomicity fix