dblib: Added functions to connect and disconnect to Nodes