[server][DataStoreManager] Fix a problem that access freed region.