fix race condition with listgames