I think we can't change this behavior without adding a API to find a connection spec give a connection id as @jeremy [asked here](https://github.com/rails/rails/commit/ba1544d71628abff2777c9c514142d7e9a159111#commitcomment-2125119).

@jeremy c/d?