[check for newer version] before exiting