HPCC-12277 Fix memory leaks in ECLWatch services

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
Merge pull request #6454 from wangkx/h12209a

HPCC-12277 Fix memory leaks in ECLWatch services

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>