added retry 3 time on failure