County public safety officials warned that the end of the program would strain the county’s already challenged jail.