FIX added general exception handler to background thread