Fix heartbeating.