Added console.log
Now passing tries to callback in retry function