When it stoped on please wait did you flashing with XS++? If you are than its OK that must be like that...you need to stop it by yourself and continue to the next steep!
But if this has happened in some other program then the phone is not working....
I hope I helped!
Sorry for bad english!
Enjoy