kalua: cron.monitoring: move heartbeat_minimal_send() to functions