when thread error emit, raise stop exception