fix pruning workers without heartbeat