Blocks the current thread until the System.Threading.CountdownEvent is set, using a TimeSpan to measure the timeout.
timeout A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely.
true if the System.Threading.CountdownEvent was set; otherwise, false.