fix WorkerWrapper#dead flags setup condition