handling no connectivity when doing requests

before doing network requests (line status or weekend status) we check for the network status. if we are offline, we start listening for updates until it's connected again. optionally, we fire an event in order for us to get the data we were looking for