when did prisons close