Fast, safe DBI connection management