Raise on heartbeat thread death

@tleach