[tsl:concurrency] Fix a potential data race when emplacig into all_allocated_elements_ vector
[tsl:concurrency] Fix a potential data race when emplacig into all_allocated_elements_ vector

Reverts 04aa434c0e5a011e980c9b42f4da489834b054de
