rethinkdb/rethinkdb — pull request #2276 by nviennot (2014-04-18 05:50:17+00:00)
Title: Ruby: reconnect() no longer dies when closing the old connection

@socket.close() may raise "IOError: closed stream" when the connection has
abruptly closed.