[server][SessionManager] Make this class MT-safe.