adds a waitFor example to the readme