Also catch socket.error on TLS teardown.
Merge pull request #4 from rfw/master

Also catch socket.error on TLS teardown.