Add attribute_lock_guard and apply to every push_xxx_event calls
Fix race condition and memory corruption (double free) reported in https://gitlab.esrf.fr/limagroup/stressango
Fix race condition and memory corruption (double free) reported in https://gitlab.esrf.fr/limagroup/stressango