commit for endwindow waiting for timeout.