Clomid

Hello, I was treated with Clomid day 5-9 and I am 36 years old. I failed to get pregnant 5 months and was prescribed this because of pcos. At the ultrasound at 12 days I had 4 mm endometrium and 21 mom follicle. I had a positive ovulating test (lh surge in urine test) two days later. My cycle was longer than usual (40 days compared to 34) and I had my period more than 3.5 weeks after ovulation test was positive. Today I went for baseline scan and doctor suspended Clomid and told me I have a 40mm follicle. What could have happened? Will this 40 mm follicle resolve on its own and what does it mean for this cycle?