If any sheriff fail to give such bond within the time prescribed, the office shall be deemed vacant.