Put back in the code that (de-)registers threads and catches exceptions.
Put back in the code that (de-)registers threads and catches exceptions.

git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@18262 0785d39b-7218-0410-832d-ea1e28bc413d

flow123d/dealii,danshapero/dealii,pesser/dealii,naliboff/dealii,nicolacavallini/dealii,nicolacavallini/dealii,mac-a/dealii,nicolacavallini/dealii,rrgrove6/dealii,kalj/dealii,JaeryunYim/dealii,mtezzele/dealii,danshapero/dealii,sairajat/dealii,rrgrove6/dealii,kalj/dealii,shakirbsm/dealii,msteigemann/dealii,jperryhouts/dealii,flow123d/dealii,msteigemann/dealii,shakirbsm/dealii,YongYang86/dealii,kalj/dealii,mac-a/dealii,rrgrove6/dealii,spco/dealii,YongYang86/dealii,lpolster/dealii,sairajat/dealii,YongYang86/dealii,sriharisundar/dealii,angelrca/dealii,andreamola/dealii,gpitton/dealii,jperryhouts/dealii,lue/dealii,ESeNonFossiIo/dealii,ESeNonFossiIo/dealii,ibkim11/dealii,pesser/dealii,JaeryunYim/dealii,shakirbsm/dealii,mac-a/dealii,EGP-CIG-REU/dealii,flow123d/dealii,ibkim11/dealii,maieneuro/dealii,maieneuro/dealii,gpitton/dealii,mtezzele/dealii,rrgrove6/dealii,mtezzele/dealii,flow123d/dealii,spco/dealii,msteigemann/dealii,kalj/dealii,YongYang86/dealii,mac-a/dealii,YongYang86/dealii,rrgrove6/dealii,sairajat/dealii,EGP-CIG-REU/dealii,EGP-CIG-REU/dealii,shakirbsm/dealii,adamkosik/dealii,nicolacavallini/dealii,johntfoster/dealii,sriharisundar/dealii,sairajat/dealii,gpitton/dealii,angelrca/dealii,sairajat/dealii,lue/dealii,JaeryunYim/dealii,johntfoster/dealii,danshapero/dealii,angelrca/dealii,kalj/dealii,lpolster/dealii,angelrca/dealii,natashasharma/dealii,maieneuro/dealii,adamkosik/dealii,lue/dealii,angelrca/dealii,ESeNonFossiIo/dealii,jperryhouts/dealii,natashasharma/dealii,maieneuro/dealii,YongYang86/dealii,Arezou-gh/dealii,sairajat/dealii,johntfoster/dealii,danshapero/dealii,jperryhouts/dealii,EGP-CIG-REU/dealii,sriharisundar/dealii,andreamola/dealii,danshapero/dealii,mac-a/dealii,danshapero/dealii,msteigemann/dealii,naliboff/dealii,mac-a/dealii,naliboff/dealii,msteigemann/dealii,andreamola/dealii,lue/dealii,naliboff/dealii,rrgrove6/dealii,jperryhouts/dealii,EGP-CIG-REU/dealii,ESeNonFossiIo/dealii,Arezou-gh/dealii,JaeryunYim/dealii,pesser/dealii,lpolster/dealii,angelrca/dealii,spco/dealii,naliboff/dealii,ibkim11/dealii,mtezzele/dealii,jperryhouts/dealii,natashasharma/dealii,lpolster/dealii,gpitton/dealii,adamkosik/dealii,naliboff/dealii,Arezou-gh/dealii,spco/dealii,adamkosik/dealii,gpitton/dealii,JaeryunYim/dealii,gpitton/dealii,lue/dealii,shakirbsm/dealii,natashasharma/dealii,msteigemann/dealii,angelrca/dealii,kalj/dealii,andreamola/dealii,Arezou-gh/dealii,andreamola/dealii,ibkim11/dealii,maieneuro/dealii,mtezzele/dealii,danshapero/dealii,EGP-CIG-REU/dealii,ESeNonFossiIo/dealii,spco/dealii,flow123d/dealii,adamkosik/dealii,natashasharma/dealii,adamkosik/dealii,andreamola/dealii,johntfoster/dealii,flow123d/dealii,nicolacavallini/dealii,johntfoster/dealii,lpolster/dealii,maieneuro/dealii,gpitton/dealii,lpolster/dealii,Arezou-gh/dealii,ibkim11/dealii,mac-a/dealii,sriharisundar/dealii,naliboff/dealii,pesser/dealii,spco/dealii,shakirbsm/dealii,pesser/dealii,natashasharma/dealii,lue/dealii,flow123d/dealii,ESeNonFossiIo/dealii,nicolacavallini/dealii,pesser/dealii,mtezzele/dealii,natashasharma/dealii,andreamola/dealii,sriharisundar/dealii,lue/dealii,rrgrove6/dealii,ESeNonFossiIo/dealii,johntfoster/dealii,sairajat/dealii,ibkim11/dealii,EGP-CIG-REU/dealii,sriharisundar/dealii,johntfoster/dealii,kalj/dealii,adamkosik/dealii,Arezou-gh/dealii,shakirbsm/dealii,maieneuro/dealii,ibkim11/dealii,jperryhouts/dealii,JaeryunYim/dealii,nicolacavallini/dealii,JaeryunYim/dealii,mtezzele/dealii,lpolster/dealii,pesser/dealii,YongYang86/dealii,Arezou-gh/dealii,spco/dealii,msteigemann/dealii,sriharisundar/dealii