Fixed an issue with fatal exception in case of system shutdown and killed svdss with data collector.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>