Added clean closing of SOLR when stopping server