more attempts to fix the disconnected session problem.