Splitting the heartbeats to a separate plugin