The server should end games with more than 300 moves or insufficient material to win with a draw.
Look at this game:
playstrategy.org/DSC92wzG/p2
We have a ticket to look into insufficient material/ repetition for xiangqi thank you for the example game and a shame that the opponent didn't agree to a draw.
We have increased the move limit for our games to accommodate some of the longer ones 1000ply (500 turns). But will also look into how we can best handle situations like this.