Place stop_game before check_votes to fix a bug.