Fixed typo in _close_socket exception handling causing an unwanted exception.
Bumping to Version 1.1.2.