Add networkstate, don't run unless an internet connection is available