Before DB flush, check if the DB connection was actually open (during failed starts, destroy may be triggered without having init done)