Obviously, I think we have to leave the country if their government formally demands it. But there's no way we should leave that air base for them, built with our funds, that could end up being used by Iran. Not unless Iraq wants to pay us for it.
I'm still very skeptical that the Iraqi government will follow through with a formal demand that we leave. If we leave, Iraq immediately becomes Iran's byatch, and the PM knows it.