wait till ports active