When it happens, either try to reconnect ASAP, show an error message, or first try to reconnect, and when it fails, show error.