do updateWindows() for 3 times (with a delay) to ensure accuracy