Avoid final_action() call during stack unwinding

Should fix #256