CPU usage with ssh.blocking = true (wodSSH / wodSSH.NET)
But this doesn't rely on events. You can use blocking Receive.
So, I am suggesting to make blocking function MyWaitfor that does the suggested in previous post. I thought this would end up as search/replace in your code from WaitFor to MyWaitfor.
Kreso