Added WaitUntilException and code example