add some callback control on Cookie.each method