Python 2.4 requires sys.exit