Finish sqlserver connection