Occurs after the connection closes.
property AfterDisconnect: TNotifyEvent;
Write an AfterDisconnect event handler to take application-specific actions after the connection component drops a connection.