debuggerd_handler: actually wait for pseudothread to exit. am: b64dd85c94 am: f47ca0f2d5 am: 4fb7a5ea69
am: c25338587c

Change-Id: I1906a118eb9707f6ae5b6bb7235a5bff5bcd3767