There's a very weird bug I've encountered - I'm not sure if it's an issue with TeensyThreads or with the Teensyduino core, so I'm reporting the issue to both places. There's more details at https://github.com/ftrias/TeensyThreads/issues/42 - but to summarize, some specific timing between the end of a thread and the creation of a new one causes a hard fault (invalid EXC_RETURN) inside the `cores/teensy4/yield.cpp` file in the teensy core library. There are many more details + a full reproducible example over in the GitHub repo (I'd put it here but I'm not as familiar with forum markup), if you think it's an issue with teensyduino I can move the github issue over to the PaulStoffregen/cores repo.