adding a delay in retry
adding a delay in retry