Add shutdown to SolrClient to release allocated resources

The SolrClient currently does not allow to release allocated resources, this is fixed by this PR.