If a coroner neglect to give bond and qualify within twenty days after his election, or shall fail to give bond when required under the preceding section, his office shall be deemed vacant.