If the device is rotated (or paused for any reason) while a host scan is in progress handle exceptions that occur when the UI thread is still trying to update the progress dialog