Sleep before assuming the DB has started.