make example wait for action
Merge pull request #26 from lipp/master

make example wait for action