Clean up the hard fault handler.