improve the wait time(30 minutes in worst case) when set passwordless login to vm by add maxRetryTimes; make it configurable to avoid long wait between each retry which may introduce performance problem