it doesn't work. Start next flag isn't getting set in SystemSimulator when exit is called