An action on an undertaking cannot be maintained after final judgment until the return, wholly or partly unsatisfied, of an execution on the judgment for delivery of possession of the chattel or for payment of a sum of money in lieu of the chattel.