fix regression to session reestablishment