Fix: Don't cancel the thread processing when an exception is thrown.