Improve error messages in the TaskWorker. Fix #4471