Synechron interview question

Multithreading process in case of exception or system shut down