did you consider making the connection a `dict` with bucket name as the key.