Most laws in most countries (including the US) have sunset clauses. They are incredibly common and have existed for centuries.