class ActiveRecord::ExclusiveConnectionTimeoutError

or ActiveRecord::Base.clear_reloadable_connections!.
to perform a “group” action such as
Raised when a pool was unable to get ahold of all its connections