I'm stopping work at 37 weeks, but dropping to 4 days a week for about one and a half months before that. I have an office job and sit on my bum, which is much easier than being on your feet all day. Go with what your body tells you.
good luck