2. Any action, suit or information for any offence against any statute, brought or laid after the time in that behalf limited, shall be void; but when the offence consists in an omission to discharge a duty imposed by law, the time during which such duty subsists and such omission continues shall not be counted.