+ if (this._timeToStop) {
+ logger.error(this._logPrefix(connectorId) + ' Entered in transaction loop while a request to stop it was made');
+ break;
+ }
+ if (!this._chargingStation._isRegistered()) {
+ logger.error(this._logPrefix(connectorId) + ' Entered in transaction loop while the charging station is not registered');
+ break;
+ }
+ if (!this._chargingStation._isChargingStationAvailable()) {
+ logger.info(this._logPrefix(connectorId) + ' Entered in transaction loop while the charging station is unavailable');
+ await this.stop();
+ break;
+ }
+ if (!this._chargingStation._isConnectorAvailable(connectorId)) {
+ logger.info(`${this._logPrefix(connectorId)} Entered in transaction loop while the connector ${connectorId} is unavailable, stop it`);
+ break;
+ }