Fixed time to int() type to help math do thing better
Fixed overlapping runs hitting 15-second threshold: file cache
Error typo, err:
Leave the cache file behind.  Cacti apparently doesn't respect script timeout variable