Fix condition for handling event loop errors
This bug affected the Errors and ConsecutiveErrors counters and effectively reduced maxConsecutiveErrors to 1 (i.e 2 instead of 3 consecutive errors put the application in an ERROR state).
This bug affected the Errors and ConsecutiveErrors counters and effectively reduced maxConsecutiveErrors to 1 (i.e 2 instead of 3 consecutive errors put the application in an ERROR state).