tkinter: wait for item in queue,time.sleep(1)