Retroarch Autosave failing on shutdown from sleep

I’m essentially having the problem mentioned in this thread, but it’s happening every time:

I’m on an RG34XXH, latest stable release of MuOS. My guess is that the shutdown script is force closing Retroarch and therefore the “autosave on quit” behaviour isn’t getting a chance?