U.S. stocks closed out their worst week since the Iran war began and their fifth losing week in a row.