Set this event handler to execute necessary functions at the moment of the closing of the internal
component thread. This event handler is called in the context of the component thread during
AdpCloseAdapter,
QueStop,
LbAdpCloseAdapter
functions execution.