No, only until it's likely that he won't continue committing crimes.
It's a balance between his right to freedom and the rights of everyone else to not be made victim of his crimes. I think after a certain number of crimes, it's appropriate to weigh the latter over the former.
Edit: And I think the threshold should be less than ten violent crimes