added a mechanism to wait for the exit of the AsuraThreadBase thread.
deleted the mechanism to wait for the thread stop.

Previous commit: fa800c3b added the similar mechanism in super
class, this fix uses it.