The event fires before the Sniffer will be closed.
published property BeforeClose: TNotifyEvent read FBeforeClose write FBeforeClose;