I'm not saying that staying forever is the answer, we must jump on correct opportunities. Like the Sectarian Warfare (escalated from violence now)... We must have them take responsibility for quelling that particular issue. Moving outside of the areas with the violence and enforcing the position that Iraq must take this issue on as we have trained enough of their forces for that much, at least... Leaving a presense in the rest of Iraq to step in if they beg for the help and quickly remove ourselves again. As they gain confidence and take care of more area simply leave each region...But will it bring more recruits than having the armies of the Great Satan right there, in the flesh, occupying the nation second only to Saudi Arabia in significance to Muslims? I sincerely doubt it. Also, being able to claim "victory" -- and they will make that claim no matter when and how we leave -- will produce a single spike of recruitment. Our continuing presence produces a protracted wave.
As I've said before, I'm no longer convinced we're doing anything constructive by staying. This includes preventing new terrorist recruits from joining up.
In other words, quickly jump on every opportunity to show that we have helped them gain control of their own nation, make them take that control and exit smartly without the need for clearly silly 'face-saving' arguments of "we made a mistake"... Yes, we did make a mistake, are we man enough to fix it before we leave and thus not give such a clear retreat to our actual enemies?