Add the exception handler only for the current thread Reviewed-by: dholmes, sspitsyn, thartmann
Reviewed-by: zgu, jcbeyler
Reviewed-by: mseledtsov, sspitsyn, erikj