How many times can I scan non-winning ticket before I’m shut down?

The terminals do not have a set amount of tries, for security reasons.