Simplify DSN logic in ConnectionManager