added retry support for BaseWorker