Avoid deadklock, xio_disconnect can deliver a session teardown event.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>