Merge pull request #4545 from leoetlino/stop-recording Stop Movie/Netplay before triggering STM shutdown