support wait for datastore