Use until instead of while, default value for interval