How to Resolve Synchronization Issues in Multi-Threaded ESP32 FreeRTOS Application? - EdgeBench