Changed loop retry to one second