I might be missing something here 🙂 I just tested your custom wait and the “official” wait with a value of 3 sec. wait and an update interval of 2 sec. as an example. Both actions worked exactly the same way, meaning that they both took equally longer than 3 sec. to finish since Update method is called only between those intervals.
Are those two (your custom one and the official one) different in your case?
Please let me know.
Thank you!