use vSemaphoreCreateBinary instead of xSempaphoreCreateMutex