Actually fixed the bug (race condition) in libusbx-1.0 this time! Source
available at https://github.com/libusbx/libusbx/pull/79