[sqlserver] be consistent with the connection string generation, opening+closing..
[sqlserver] be consistent with the connection string generation, opening+closing..

[sqlserver] lets open and close connections by instance.

[sqlserver] we need to reopen the connection because we can't know it's state with adodbapi API.

[sqlserver] create a new Connection object to avoid closing a closed connection.

[sqlserver] lets just be extra cautious and close it explicitly.

[sqlserver] changing comment

[olivier.vielpeau@datadoghq.com] log connection closing errors

brettlangdon/dd-agent,pmav99/praktoras,manolama/dd-agent,Wattpad/dd-agent,brettlangdon/dd-agent,pmav99/praktoras,tebriel/dd-agent,manolama/dd-agent,c960657/dd-agent,indeedops/dd-agent,jyogi/purvar-agent,c960657/dd-agent,indeedops/dd-agent,Wattpad/dd-agent,brettlangdon/dd-agent,cberry777/dd-agent,manolama/dd-agent,Wattpad/dd-agent,jyogi/purvar-agent,takus/dd-agent,indeedops/dd-agent,jyogi/purvar-agent,cberry777/dd-agent,cberry777/dd-agent,gphat/dd-agent,gphat/dd-agent,takus/dd-agent,pmav99/praktoras,tebriel/dd-agent,indeedops/dd-agent,cberry777/dd-agent,manolama/dd-agent,manolama/dd-agent,c960657/dd-agent,brettlangdon/dd-agent,Wattpad/dd-agent,indeedops/dd-agent,tebriel/dd-agent,gphat/dd-agent,Wattpad/dd-agent,c960657/dd-agent,jyogi/purvar-agent,tebriel/dd-agent,tebriel/dd-agent,jyogi/purvar-agent,gphat/dd-agent,gphat/dd-agent,c960657/dd-agent,pmav99/praktoras,takus/dd-agent,cberry777/dd-agent,pmav99/praktoras,takus/dd-agent,brettlangdon/dd-agent,takus/dd-agent