IllegalStateException on Span.makeCurrent

Hi @Shaoranlaos , I have identified the underlying cause of the issue and have re-purposed the PR #2735 with a first version of the fix.

Could you try this snapshot an tell me if that now works as expected within your application ?

In the mean time, I will be adding more tests to cover this case properly in the future and prevent further regressions.