Handle network connection difficulties.