Ajout gem thread safe