basic waiting until DB is ready before bootstrap