check window open every 5 min