Stop Thread in CMSIS RTOS (not Terminate)

Hi

I am working with CMSIS RTOS RTX. I have an external device and some threads are running to work with this device. However, sometimes I need to turn off the device at the middle of working. Therefore, some threads are still waiting for the response from this device. Hence, I need to stop those threads. But I do not want to terminate them, because I need them later. After restarting the external device I want to have those threads as a fresh thread (not waiting in previous state). Any help is appreciated.

More questions in this forum