24. A patentee may at any time, by giving notice in the prescribed manner to the Registrar, offer to surrender his patent, and the Registrar may, if after giving notice of the offer and hearing all parties who desire to be heard he thinks fit, accept the offer, and thereupon make an order for the revocation of the patent.