Ruby: Fix ruby reconnect/close
Merge pull request #1847 from nviennot/rb_fix_reconnect

Ruby: Fix ruby reconnect/close