streaming should throw error in main thread when exception is caught