nit: use explicit interval, or even better: `setImmediate()`