Implementing Break as an exception rather than as a flag.