Section 40. A majority in interest of the proprietors of a common field, whether established by consent or by order of court, may discontinue it at a legal meeting warned for the purpose; but the discontinuance shall not take effect until the expiration of six months after such vote.