setting retry in retry history