The embarrassment of a failed marriage fades very quickly. Get out before you become further entangled in his life, especially before you become pregnant.
I am also giving it a try because I haven't come to grips with telling others in my family that there are problems. In the past sometimes sharing these issues only made it worse.