fix clear interval on checkmate or draw