Remove variable used once
Move network start to an earlier stage