Try and deal with disappearing db connections and deleted aliases