handle dead slaves better.