Fixed error in heartbeat send call.