TWA is very correct. I have done it solo, many times. If you have slow walkers or you are late and you have a long walk, you might not make it. If the flight to IAH is a Regional jet and the IAH - SFO is a large jet, you will probably have a long walk. My EMB RJ from EWR to IAH and larger jet IAH to SMF or SFO always had me on long walk. I stopped these short 45 minute type connections because of delays out of EWR.
good luck