742. Where an admitted debt of the testator or intestate is not yet due, and the creditor will not accept present payment with a rebate of interest, or where an action is pending between the executor or administrator and a person claiming to be a creditor of the deceased, the decree must direct that a sum sufficient to satisfy the claim, or the proportion to which it is entitled, together with the probable amount of the interest and costs, be retained in the hands of the accounting party, or paid into court for the purpose of being applied to the payment of the claim when it is due, recovered, or settled; and that so much thereof as is not needed for that purpose be afterwards distributed according to law. *When money may be retained.*