sleep in retry