As a safety, especially for win32, cap the wait.