add failing test to show that socket.close() does not raise an IOError
Merge pull request #211 from dchelimsky/test-socket-close-detection

add failing test to show that socket.close() does not raise an IOError