After the S&P 500 Index failed at another attempt to break a record high.