TPA-169 - Fix - close SQL session when calling command Set instance to node