US stocks close higher for 4th straight day