Merge "adb: sysdeps: add support for joining threads."