standard says: When the state machine reaches the <final> child of an <scxml> element, it must terminate