Wrapped _socket.close in its own try-except.

Fixes the bug described in Issue #34 in beanstalkc:
https://github.com/earl/beanstalkc/issues/34