wait for couchdb before restarting chef-server