How to Ensure Atomic Access to Queue in ESP32 FreeRTOS Project? - DevHeads IoT Integration Server