Stocks shed their gains in late trading on Thursday to finish near flat.
Stocks shed gains in late trading;