Reindex solr inside setup_database to ensure the database is running