Keep track of how many retries happened, abort if >= 10
Keep track of how many retries happened, abort if >= 10

If there is a problem communicating with checkState that is persistent,
we should alert the user of this fact rather than loop infinitely
retrying.

petertseng/interactive-12shogi,petertseng/interactive-12shogi