I think it can be helpful for clarity, but if you do it, you should do it consistently and add it to `TCPSocket.new` too.

That said, the `Resolv.getaddress` is unnecessary and also blocking. If you just do `TCPSocket.new(host, port)` you will get nonblocking DNS resolution too.