You should renew it right now if you don't need to use it until your July trip. Attach a letter explaining why you need it then, and if the reason for travel is compelling, ask for an expedited RTD. Also, if you don't need to travel to Germany, the Netherlands, Belgium and some other European countries (visa free with the RTD), think about applying for a Re-Entry Permit instead, which will be valid for 2 years. That will save you a lot of time and money.
*** El Cafe ***
N400 - NYC (Brooklyn)
March 12 2010: Sent
April 7 2010: FP done- walk-in
August 3 2010: ID decision not made
December 12 2010: Lawsuit filed under 8 USC 1447(b)
March 31 2011: 31 Oath date
April 1 2011: Passport applied, picked up!