Implement unbounded retry

Still need to have configurable retry and to add to main
Add max retries to config
Add retry worker to Main