Wrecked property may be kept or reclaimed at the time of the wreck by the owner, consignee, or other person entitled to possession; but if any person has a just claim for salvage and necessary expenses incurred in saving it, the claim shall be paid before the property can be reclaimed.