US stocks flirt with a record after the unemployment rate unexpectedly improves