Fix for infinite error loop on device disconnect.

Added a counter to the InitiatorTerminalTagScanner class which will break the infinite loop if 5 CardExceptions occur in a row.