HPCC-8632 Reduce multiple SDS connect() calls for environment info

Existing EclWatch onActivity calls SDS connect() three times in order to
retrieving environment settings. This fix reduces the three calls to one
for better performance.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #3914 from wangkx/h8632a

HPCC-8632 Reduce multiple SDS connect() calls for environment info

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>