Fix race condition crash on rapid pause and restores of emu activity