Process termination on sql server connection error