Thread interruption exceptions are caught now and don't go to the console

These exceptions are expected and not dangerous. With them logged, system spends additional resources for console I/O and pollutes the console. So now the thread interruption exceptions are caught in appropriate places.