I don't really want to have an infinite loop here, so I instead decided to try a few times and then return the original port. I don't imagine this loop will execute all 10 times, but wanted to err on the side of caution.   Should I:   1) Leave as a constant  2) Make a configurable option  3) Make this a `while True` loop