A transaction protects the write, not your closure
Twelve requests arrived at once against a free allowance that was already spent. None of them should have been served. Nine were, and the counter they were checked against was correct the entire time.