Issue #3544912: Added new queue worker for batch process and drush, refactor the code to use the same code
Closes #3544383