will pause execution when the window is blurred