// This test does not pass
@Test
public void testTimeoutStreamEndCallbackAsynchronously2() {
TimeoutStream stream = vertx.periodicStream(10);
ThreadLocal<Object> stack = new ThreadLocal<>();
stream.endHandler(v -> {
assertTrue(vertx.context().isEventLoopContext());
assertNull(stack.get());
testComplete();
});
stream.handler(id -> {