added timeout to the loop
Merge pull request #837 from jsuchome/wait-for-chef

added timeout to the loop