Feeling old

I turn 40 on Saturday. Today the doctor confirmed no heartbeat. I should be 11 weeks but there was no progression after 6 weeks although there was a weak heartbeat until this week. I have a d&c  scheduled for Tuesday along with a laparoscopy for my Endometriosis. My husband and I want to try again but this is MC #2 and I am wondering if I am just to old.