Added condition when Network is Down