Server connection error handling
Better server disconnect handling