added timeout retry for getroutes and findlocations