Can a pregnant woman perform Hajj?


Is it halal for a pregnant woman to perform umrah or hajj? Does it depend on the stage of pregnancy she is at (e.g. 4 months pregnant compared to 8 months pregnant)? There is risk of falling and disease due the the crowds of pilgrims.