Set correctly reset connection on unauth