Log unhandled exceptions in connectionthreads to errorstream