US stocks finish on rise