[WFLY-3162] Make failureCount volatile, mainly for clarity