dsDisconnect function

Disconnect (close) a connection