Add shutdown to SolrClient to release allocated resources.