I am trying to run this piece of code. But the problem is it never comes out of the loop.I am able to close the window but it pop back again I don\'t know why is happening?