[2.2.4.158 C7] Need a way to detect/act on wait timeouts

A month ago I asked exactly this and you told me it was impossible. I'm so glad you're adding this!