If any of the property attached is perishable, the marshal shall sell the same in the manner in which property is sold on execution. The proceeds thereof and other property attached shall be retained by him to answer any judgment that may be recovered in the action, unless sooner subjected to execution upon another judgment.