Agreed. The first 6 months to a year you might do it to get information, after that you keep it up so they can’t tell everyone what you did when they get released.
You also have to think the people employed at these prisons enjoy torturing (why else would they do it for 20 years - how do they find these people in the first place?) so maybe they keep them around just to have people to torture.