[sgen] Fix concurrent M&S.