ADD: check network connection