code: public void setHeartbeatFails(int newHeartbeatFails) {
  		if (newHeartbeatFails > 0) {
  			if (newHeartbeatFails > heartbeatMaxFails
  					|| newHeartbeatFails < heartbeatMinFails) {
  				raiseOrtcEvent(EventEnum.OnException, this, new Exception(
  						"Heartbeat fails is out of limits - Min: "
  								+ heartbeatMinFails + " | Max: "
  								+ heartbeatMaxFails));
  			} else {
  				heartbeatFails = newHeartbeatFails;
  			}
  		} else {
  			raiseOrtcEvent(EventEnum.OnException, this, new Exception(
  					"Invalid heartbeat fails " + newHeartbeatFails));
  		}
  	}
docs: Set heartbeat fails. Defines how many times can the client fail the heartbeat.
  
  @param newHeartbeatFails