Can't this just be `p.clear(iterate);`?  There's no need to wrap the callback if you're not processing the arguments.  Also, double semi-colon below.