optimized sending of heartbeats from tbs server