Defendant made a valid waiver of his right to appeal, which forecloses review of his present claim that the court should have exercised its discretion to give him a second chance to complete drug treatment, notwithstanding his conceded violation of his plea agreement ( see People v Wilson, 11 AD3d 206, lv denied 3 NY3d 743). Were we to find otherwise, we would find that the court properly exercised its discretion, especially since defendant immediately absconded after being directed to enter a drug program, and was also arrested and convicted of a new crime ( see People v Valles, 21 AD3d 855, lv denied 6 NY3d 760).