US exchanges close mixed