public override void shutdown()
{
log.InfoFormat("isInitialized: {0}. -> Requested shutdown of the IPC Talk.", isInitialized);
if (isInitialized)
{
if (cts != null) cts.Cancel();
if (client != null) client.Close();
stream = null;
isInitialized = false;
log.Info("Shutdown completed.");
}
}
}