[FIX] Always wait for DB engine to come up.