Section 17. Where a bond is required of a receiver appointed by either court the provisions of section seven of chapter two hundred and three shall apply.