Check exceptions in sub-threads.