I really don't think this change fixes the bug.

Can you try with merely removing the marionetteScriptFinished from the non-asynced methods?