Changed xTaskHandle to TaskHandle_t to fit FreeRTOS 8+ naming conventions