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>