Ensures that a given program runs continuously