Any event generated when trade server disconnected

Hi guys

Is there any event generated when terminal loses the connection with trade server?