95c95,101
< thread->run();
---
> try {
> thread->run();
> } catch (...) {
> thread->terminate();
> scheduler.throwToScMain();
> return;
> }