To be clear the try is necessary is if a query happens after a disconnect the error result is nil. For reference, @stevecj's specific commit containing that change in his fork:
https://github.com/stevecj/rails/commit/0d63cda2d70a1e92e71e7c0f6b96c15dc00da117