State ends crisis housing program: 'Some mistakes were made'