AgetState.GOING_TO_EXIT added