changed the processing logic from TaskProcessor to TaskExecutionService