stopping service if network unavailable