Fix worker death warning throwing an exception