Wait for datastore connection before initializing sessions