Add example of non-blocking wait