Move the sleep to workaround the default modify-window of 1 on Cygwin to