Wiegand Sample exit()'ing

With DC 9.5 the wiegand sample compiles and runs, however when a card is presented the programs exit()'s with a semi-random number.
The exit number changes with program changes, but is the same number each time if no changes to the code are made.

9.25 == no problems.