fixed bug in WorkerOps that caused a deadlock when an error was encountered