The reset function passed in is called for each cookie configured for reset. If the function failed for any cookie, the last failed status is returned.