An inhabitant whose goods or chattels are taken on such execution, may pay to the officer the amount of such execution and the charges thereon before their sale.