Those persons who were stockholders at the time of the sale of the franchise of a corporation may redeem the franchise which has been sold under execution at any time within six (6) months from the date of sale, by paying or tendering to the purchaser the amount paid by him, with ten per centum thereon; but shall not be entitled to any allowance for the profits received by the purchaser in the meantime.