dbdump: use ping() to re-establish connection