ensure exceptions in sub thread are begin reraised in main thread