Resolve $dbh self ref