How can you stop a progress dialog running when network access drops?
<p>I have an app that goes out to a website to grab XML for processing.  This process is in a separate thread and works fine when I have 3G or WiFi available.  I also have code that checks signal before actually running the thread so it won't attempt with no connectivity.</p>

<p>During my testing I walked into a building that blocked all signal so the proces started while I was outside and had signal but when I went inside the signal dropped and my Progress dialog just kept runnnig, I had to manually shut the program down to get it to recover.</p>

<p>Is there a good way to deal with this without requiring the user to manually shut down the app if this situation happens?</p>
