destructor Destroy; override;
Description
Use Free instead of Destroy in an application. It will check the the reference and call Destroy if it is not Nil.
Destroy will close all datasets associated with connection and connection to Mediator server.