fix concurrency tests

[ci skip]