Section 93. The treasurer or other disbursing officer of any town may, and if so requested by the collector shall, withhold payment of any money payable to any person from whom there are then due taxes, assessments, rates or other charges committed to such collector, which are wholly or partly unpaid, whether or not secured by a tax title held by the town, to an amount not exceeding the total of the unpaid taxes, assessments, rates and other charges, with interest and costs. The sum withheld shall be paid or credited to the collector, who shall, if required, give a written receipt therefor. The person taxed or charged may in such case have the same remedy as if he had paid such taxes, assessments, rates or other charges after a levy upon his goods. The collector's rights under this section shall not be affected by any assignment or trustee process or attorney's lien.