Update Wait.cs

Swap hardwired poll delay for input param.