Unregisters the current panic hook and returns it, registering the default hook in its place.
See also the function
If the default hook is registered it will be returned, but remain registered.
Panics if called from a panicking thread.
The following will print “Normal panic”: