bug fix: multithread exception wouldn't be sent to junit.