Added commands to re-run chef-client until it successfully completes