When such judgment is rendered against a corporation, the court may restrain it, appoint a receiver of its property, and make distribution thereof among its creditors, for which purpose the attorney general shall forthwith institute proceedings.