Revert "Ruby: Fix ruby reconnect/close"

This reverts commit 63b455d56a10a6c0f5e37aa73a2f567f2d5b72aa.