ipc is working, but it's not pretty
hunting against a race condition