:seedling: fix flaky test via RWMutex (#2036)