HPCC-12277 Fix memory leaks in ECLWatch services

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>