That's crazy.
Immigration at IAH isn't exactly speedy, both from my experience and what I've heard others say too. Once you've done that you'll have to get back through security (properly enforced, premium lines do exist) then get back to the gate.
Good luck!