code: function usePing() {
          if (!pingPongStarted) {
              Logger.debug("Starting ping (if configured)")
              pingPongStarted = true;
  
              if (configuration.heartbeat != undefined) {
                  pingInterval = setInterval(sendPing, configuration.heartbeat);
                  sendPing();
              }
          }
      }
docs: /*
  If configuration.hearbeat has any value, the ping-pong will work with the interval
  of configuration.hearbeat