At any time after entry of judgment in favor of the defendant and before perfection of an appeal under CCP 921, upon defendants’ motion, the trial court may order an increase in the amount of the original undertaking on attachment. Unless the undertaking is filed within 10 days after such order, the attachment shall be set aside and the property released. The pendency or granting of a motion to vacate judgment, for judgment notwithstanding the verdict or for new trial shall continue the attachment in force unless an undertaking is given by the plaintiff to pay all costs and damages sustained by continuing the attachment. (CCP 489.410)