HPCC-11679 Catch exception in connection destructors

Avoid problems with exceptions being generated during clearup,
that causes problems if clearing up to handle an original exception.
Catch exception in connection beforeDispose and generate a log entry
only.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>