Keep the window open until the timer stops