When the marshal has taken the property as in this chapter provided, he shall keep it in a secure place and deliver it to the party entitled thereto upon receiving his lawful fees for taking and his necessary expenses for keeping the same. The marshal shall insure the property upon the request of, and payment of the premium by, any interested party. In the discretion of the court, such premium may be taxed as costs.