Just to make sure I understand, why is ``setattr`` needed? Why not e.g. ``socket.create_connection = no_create_connection``?