To fix a case where the worker hangs.