in reply to Re^2: check if DBI is still connected
in thread check if DBI is still connected

$dbh->ping does work