In the years since , the Connecticut senator distanced himself from the Democratic Party over the war in Iraq and became an independent , frequently voting with Republicans on foreign policy and national security issues .