Moved sending of all heartbeats to its own function in TX