better worker death handling