Unless the child has already received a final discharge, the control by the department of youth services of a child committed as a delinquent shall cease when the child reaches the age of twenty-one years.