Try Catch in while loop of labels complex network experience