Use -w for timeout on Windows.