Added the option to run as a simple worker and added error handling on Do calls