retry two times with delays if we get file scanning incomplete error when downloading the state