There are definitely a couple ways to handle this, but a straight forward way would be to use a Do Once node and reset it after a period of time so that it will accept an input again:
example usage: