OTA with application firmware that creates threads for reading Hw Sensor Data

RTOS threads are not to be killed.
You can use a flag to have it not do anything but idle tho’ - possibly yielding control back to RTOS.