Dear team,

this pull request is my attempt to help with #32033 issue. After my modifications I tried to run test mentioned in the issue and execution has taken less than a second on my machine, so I suppose my pull request makes sense and eliminates the problem. I kindly ask you to review it and tell me what should be fixed.

Thank you in advance for your time!

Comment From: philwebb

Thanks very much for the pull-request @An1s9n. In the end I decided to go with a slightly different approach and use AtomicReference members to store the previous value. See commit e917bd0ed00567b39878decd3fbfd6b35245a3eb for details.

Sorry this one didn't get merged but thanks for your efforts.