Awaits the latch for the given Duration.
true if the count reached zero and false if the waiting time elapsed before the count reached zero.
true
false
The maximum time to wait.