stop app before_destroY