Make activeResends field atomic