reset the variable num_stat_update_failures to 0 on success
to prevent it from erroneously reporting failures
contacting the server when it was successful. TRQ-2553