Fixed #646 sending background exception to the global UncaughtExceptionHandler