obanyc-2080 added try/catch for TDS exceptions