SONAR-4898 - fixed sonar-server SearchClient exceptions on server shutdown