Add System.exit(0) to console