debuggerd_handler: actually wait for pseudothread to exit.
am: b64dd85c94

Change-Id: I9b850bf980e0d076a332becb948c10be3f322fc7