fixed race condition that would lead to invalid memory access when using dialog pinging