Fix GetStats bug.

channel->GetStats must in work_thread.

Also add some ASSERT for debugging.