```ruby
begin
  block.call
esnure
  ActiveSupport::Notifications.unsubscribe(subscriber)
end