Ensure event functors deleted in destructor