[DF-4841] Merger jobmanager implementation from workerthread branch