Update cooldown, change setInterval for lazy cleaning

Remove the setInterval, lazy cleaning before a check is better.