US stock exchanges close mixed