We have two threads using X, on an XIOError both threads call their XIOError handlers and two calls to exit trample all over eachother. Change-Id: I20defc6f84cc6ea2372a0d6c979e8078fe920a88