delete last server without cannot connect exception, remove cookie