Improves server disconnect protocol