minor concurrency fix

minor concurrency fix