The receiver shall intervene in every case in which the property of the insolvent debtor has, within ten (10) days before the filing of the petition, been attached. Upon the receiver's motion, every such attachment shall be dissolved and the attached property shall be turned over to the receiver upon the payment by the receiver of all costs which have accrued in the attachment suit.