Any person committed to a community correctional center in any cause for disobeying an order of any court or family support magistrate may be discharged from imprisonment by the judge of the court or family support magistrate making the order when it appears to the judge that the public interest will not suffer thereby.