Guard against concurrent writes