wait for ui and nimbus ports after restart