Does your program enter some kind of a loop after it shows that progress dialog?