xTaskAbortDelayFromISR()

The timer task uses the similar approach - FreeRTOS-Kernel/timers.c at main · FreeRTOS/FreeRTOS-Kernel · GitHub.