This script restarts network when network is unavailable.