updated heartbeat manager so it should not be possible for 2 instances to
pick up the same job