Tech-sector weakness threatened to leave some investors with heartburn over the Thanksgiving Day holiday.