Not much room for delays here. For me it would depend on how much hassle it would be to miss the connection and have to wait 12 hours for the next flight. Also, how much earlier is the previous ORD flight?
Tip: wear shoes you can run in. Gate to gate is 5-15 min depending on locations.