fix teardown of solr