[server][CacheServiceDBClient] Add a test: test_cleanupOnThreadExit().