Or perhaps control the order via a new CountDownLatch(1), where latch.countDown() is called after context.asynchronous() and context.complete() is preceded by latch.await().