handle that db.ping a little better