[server][CacheServiceDBClient] Fix a bug that causes crash after reset().