Change to avoid race condition where we're trying to configure sharding but
the DB isn't available yet.