add a 40 second long cooldown time to the stat logging

It takes longer than 40 seconds to make coffee and it has been some incidents where two stats increments has occurred with only a few seconds between them.