Update HeartbeatManager.java