Ported the SC heartbeat plugin from ServiceControl.Plugins.v3