Fixing logic thread memory leak

Change-Id: I1617913c2b9da19eaf391ba0ebf76cc9f1d9a884
Signed-off-by: TanelDettenborn <tanel.dettenborn@intel.com>
Merge "Fixing logic thread memory leak"