Thanks for the quick answer Dávid.
I think takeUntil will not work as we want an error to be produced if the timeout happens, it seems takeUntil will only return the items emitter before the timeout without error.
I am not sure I understand the second suggestion, would you mind elaborating please?
I also asked on SO, thanks.