Cleanup exit status code handling per review comments, and make sure that any error is returned to caller.
Handle and log command execution errors from the worker.
Tweak log message to be more readable.