S&P 500 on Thursday climbed 0.8% to 6,141.02 and was sitting just 0.05% below its all-time closing high set in February