Wait for CouchDB to start

On slow VMs it can take a few seconds for CouchDB to start. Do
not abort in these cases.