add ignoreCancelled event handler support