That's due to the same reason why you have to use a custom extension that I linked above, instead of the built-in Thread.current . See more discussion at Thread.current cannot be used from async contexts.
1 Like