Spawn network processes only when they are needed.