Verify mPollThread is joinable before detaching am: 65945cfb15
am: b008fb2c25

Change-Id: I5d28e3895a3d5825ad3c71119cc7e17bedbbc493