[server] Call CacheServiceDBClient::cleanup() when a Hatohol thread exits.