In pymssql, if you terminate a long running query manually
it will give you a connection reset by peer message, but this
connection remains in the pool and will be re-used.
Remove terminated connections from the pool.
The quoting was inconsistent in the file, so I cleaned it up, but can remove that if you don't like it.
ok, got a few pullreqs I need to get to, should be fine
changelog: c837dc4 cherry-pick in 0.8 4211207 351d0b6