Fix a one-off in WaitForHandle from recent changes