limit "wait" to 10s
Merge pull request #29 from kmike/max-wait-10s

limit "wait" to 10s