bugfix: race in sync2.BoundedRWLock