Do not hang if interval is 0 or not a number