improved wait for couchbase start