added heartbeat and job reassignment if a worker stops beating