Any child entered into the school may be discharged therefrom or returned to his oy her parents or guardian when, in the judgment of the directors, it will not be beneficial to such pupil or to the best interest of the school to be retained longer therein.