continuous network refreshing and re-connecting if lost