logout needs to happen in a thread since its net activity
ensure db is not closed while we are operating on it
updating cert pings for DDG xmpp