add a check for game finished in play card thread