If the accused is not arrested under warrant of the governor by the expiration of the time specified in the warrant, bond or undertaking, a local criminal court may discharge him or may recommit him for a further period of sixty days, or for further periods not to exceed in the aggregate sixty days, or a supreme court justice or county judge may again take bail for his appearance and surrender, as provided in section 570.38 but within a period not to exceed sixty days after the date of such new bond or undertaking.
N.Y. Crim. Proc. Law ยง 570.40