Handle exception appropriately.
Add Thread#kill test.