Rename pullIntervalSeconds to wait (and use milliseconds for the unit)

Seems appropriate to use millis since that is the unit that setTimeout and
friends use.