Fix: unregister UncaughtExceptionHandler
on close.
#1770
Merged
UncaughtExceptionHandler
on close.
#1770