单项选择题

With the sun (setting), we stopped (working), (putting) away our tools and were (going) to go home.

A.setting
B.working
C.putting
D.going