Chap. 415. days thereafter, surrender himself to be taken on execution and abide the order of the court, or, if a corporation or trust with transferable shares, it will, within like time, pay the fine previously ordered, or pay to the plaintiff or creditor the amount due him upon the claim or execution as the case may be. In the superior court trial shall be by a jury or, with the consent of both parties, by the court. Section 20. If at the examination of the debtor it appears that after service of supplementary process, the debtor has made a payment of money or a conveyance, assignment or transfer of property which is not exempt from being taken on execution, with intent to prevent it from being transferred or paid to the creditor or applied to the satisfaction of the judgment, and the court so certifies, the debtor or, in the case of a corporation or trust with transferable shares, its officer, trustee or agent as provided in section sixteen, may in the discretion of the court be committed as for a contempt. The payment by the debtor of a debt for necessaries, or a debt due on any judgment on which he or it has previously been summoned to appear in supplementary proceedings, or a reasonable fee for counsel relative to the proceedings, shall not render him or it liable for contempt. Section 21. Supplementary proceedings shall be dismissed, and if the debtor or, if a corporation or trust with transferable shares, its officer, trustee or agent, has been imprisoned, he or it shall be discharged from custody, on payment in full to the creditor or his attorney of the amount due on the judgment, with all the costs of the proceedings, or, unless the judgment is upon a bond or recognizance given under the provisions of this chapter, on the giving to the creditor or his attorney of a bond, payable to the creditor, with sufficient surety or sureties, approved by the creditor, his attorney or the court, conditioned that the debtor shall pay to the creditor the amount due on the judgment, with all the costs of the proceedings, within sixty days after the date of giving such bond or within such longer time as the court may allow. Section 22. The court may issue a writ of habeas corpus to bring before it for examination or disposition or for the purpose of giving bond, a defendant or debtor or, in the case of a corporation or trust with transferable shares, its officer, trustee or agent who has been imprisoned under the provisions of this chapter. Approved June 25, 1974. Chap. 415. AN ACT PROVIDING FOR THE ACCEPTANCE BY CITIES, TOWNS AND FIRE DISTRICTS OF THE LAW RELATIVE TO THE COMPENSATION OF POLICE AND FIRE CHIEFS. Whereas, The deferred operation of this act would tend to defeat its purpose, which is to immediately provide for local acceptance of the law establishing salaries for police and fire chiefs in municipalities and fire districts of the commonwealth, therefore it is hereby declared to be an emergency law, necessary for the immediate preservation of the public convenience. Acts, 1974. —