Protect against duplicate sessions if app crashed.