Shutdown solr service on close.