Sex after miscarriage

Hi, I had a miscarriage one month ago (I was 2 month pregnant), it was a very tough experience. I am physically recovered, but I don't feel like having sex and I don't know if the feeling will go away. My husband understands, but I feel kind of bad for him. Has anybody had the same experience?