Improved worker service error handling.