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