I want to have a tkinter popup which should close after a certain task is complete but as soon as the popup comes up that execution of the code stops there and wait until the po