Update vTaskDelay calls to use portTICK_PERIOD_MS