Obama: 'We've closed an important chapter'