Added break safety in DataWorker