Deactivate nav links when disconnected