added a new virtual function: AsuraThreadBase::stop(), which stops the thread.