add wait_for_servers method in proxy