Make set atomic