Made network get created only if there are no existing networks