continuously retries port until successful