fixed issue with worker death