Safe publishing synchronized