am 3a25ca5d: ListeningPortsTest: fix retry logic

* commit '3a25ca5db9ca085470d3bcf5ba9dda0c84ccbd16':
  ListeningPortsTest: fix retry logic