Pushed a different patch, referenced above.
It continues to try to connect the other sql connections, even one fails as well as the reconnect at runtime is attempted only for the connection needed at that moment. The parameter is named connect_mode.
I haven't tested, it would be good if you can do it and report if it works or not. In case of errors, open a bug report. Thanks!