Concurrency violation on interplay between Distributed and Base.Threads

Does look like a bug in Distributed. Can you open an issue?

I don’t understand how that can cause data corruption, but wait_for_conn waiting on the non-threadsafe Worker.c_state is definitely very smelly.