US stocks close Thursday mixed amid uncertainties related to Iran war