fixed race conditions when multiple clients accessed the same coordinator query