restart networking properly