Fix to continue polling after ArrayIndexOutOfBounds or NegativeIndex exceptions